package solutions.ferpa.ztest.intf;

import br.com.telescope.t2.ModuleNavigator;
import br.com.telescope.t2.ServiceNavigation;

public class ModInterfaces extends ModuleNavigator {
    
    public ModInterfaces() {
        
        setGlobalName("RTSYSINF.MOD_INTERFACES");
        setInitialService(CadInterface.class, "QUERY");
        
        addNavigation((new ServiceNavigation())
                .id("752474")
                .name("INTF")
                .label("Interface")
                .destination(CadInterface.class)
                .feature("UPDATE")
                .parameterName("A_ID")
                );
        addNavigation((new ServiceNavigation())
                .id("752475")
                .name("FUNC")
                .label("Funções")
                .destination(CadInterfaceFuncao.class)
                .feature("LIST")
                .parameterName("P_INTERFACE_ID")
                );
    }
}
